

#import <UIKit/UIKit.h>

@class  CPWaterflowLayout;
@protocol waterFlowLayoutDelegate <NSObject>

@required
- (CGFloat)waterFlowLayout:(CPWaterflowLayout *)layout heightForRowAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface CPWaterflowLayout : UICollectionViewLayout

@property (nonatomic, weak) id<waterFlowLayoutDelegate> delegate;
@end
